<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>淘爱心注册</title>
    <link type="text/css" rel="stylesheet" href="style/reset.css">
    <link type="text/css" rel="stylesheet" href="style/main2.css">
    <link rel="stylesheet" type="text/css" href="style/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="style/login.css">


</head>


<body>
<div class="headerBar">
    <div class="logoBar reg_logo">
        <div class="comWidth clearfix">
            <div class="logo fl">
                <a href="index.html"><img src="images/Register/reg.jpg" alt="淘爱心" ></a>
            </div>
            <h3 class="welcome_title">欢迎注册</h3>
        </div>
    </div>
</div>


<div class="regBox clearfix">
    <div class="reg_item2 reg_current" id="reg_student">
        <div class="line"></div>
        <a href="#">学生注册</a>
    </div>
    <div class="reg_item2" id="reg_other">
        <div class="line"></div>
        <a href="#">其他用户注册</a>
    </div>
    <div class="reg_item3">已有账号？<a href="login.html">去登录</a></div>
</div>

    <div class="regBox1" id="reg_student2">
        <div class="login_cont">
            <div class="panel-body">
                <div class="container">
                        <div class="row">
                            <div class="col-md-6" style="border:1px solid #ccc">
                                <form class="form-horizontal" role="form">
                                   <div class="form-group">
                                        <div class="controls col-md-6">
                                            <input type="text" id="money_card_secret" name="money_card_secret" required="required" class="form-control"
                                                   data-url="{{ path('money_card_user_entered_check') }}" placeholder="请输入学习卡/券上的密码">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="controls col-md-3">
                                            <input type="text" id="captcha_num" name="captcha_num" required="required"
                                                   data-url="{{path('register_captcha_check')}}" class="form-control" placeholder="请输入右侧的验证码">
                                        </div>
                                        <div class="col-md-5">
                                            <img src="{{ path('register_captcha_num') }}" data-url="{{ path('register_captcha_num') }}" id="getcode_num" title="看不清，点击换一张" style="cursor:pointer;" >
                                        </div>

                                  </div>
                                </form>
                            </div>
                            <div class="col-md-6">
                                <img src="images/login/login.jpg">
                            </div>
                        </div>

                    </div>
                </div>
            </div>
    </div>

    <div class="loginBox" id="reg_other2">
        <div class="row">
            <div class="col-md-12">
                <form class="form-horizontal" role="form" name="register" 
                    ng-controller="registerController">
                    <div class="form-group">
                        <label class="col-md-3 control-label">
                            用户名
                        </label>
                        <div class="col-md-7">
                            <input type="text" name="username" class="form-control" placeholder="邮箱/手机号" ng-model="userInfo.username" ng-minlength="8" ng-maxlength="20" required>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="error col-md-offset-3 col-md-10" 
                            ng-show="register.username.$dirty && register.username.$invalid"> 
                            <small class="error" 
                                ng-show="register.username.$error.required"> 
                                用户名不能为空 
                            </small>
                            <small class="error" 
                                ng-show="register.username.$error.minlength"> 
                                Your name is required to be at least 8 characters 
                            </small> 
                            <small class="error" 
                                ng-show="register.username.$error.maxlength"> 
                                Your name cannot be longer than 20 characters 
                            </small> 
                        </div>
                    </div>
                    
                    <div class="form-group">
                        <label class="col-md-3 control-label">
                            请设置密码
                        </label>
                        <div class="col-md-7">
                            <input class="form-control" name="password" type="password" placeholder="密码" ng-model="userInfo.password" ng-minlength="3" ng-maxlength="20" required>
                        </div>             
                    </div>
                   <!--  <div class="form-group">
                       <div class="error col-md-offset-3 col-md-10" 
                           ng-show="register.password.$dirty && register.password.$invalid"> 
                           <small class="error" 
                               ng-show="register.password.$error.required"> 
                               密码不能为空 
                           </small> 
                           <small class="error" 
                               ng-show="register.password.$error.minlength"> 
                               Your name is required to be at least 3 characters 
                           </small> 
                           <small class="error" 
                               ng-show="register.password.$error.maxlength"> 
                               Your name cannot be longer than 20 characters 
                           </small> 
                       </div> 
                   </div> -->
                    <div class="form-group">
                        <label class="col-md-3 control-label">
                            请确认密码
                        </label>
                        <div class="col-md-7">
                            <input class="form-control" name="password" type="password" placeholder="密码" ng-model="userInfo.password" ng-minlength="3" ng-maxlength="20" required>
                        </div>             
                    </div>
                   <!--  <div class="form-group">
                        <div class="error col-md-offset-3 col-md-10" 
                            ng-show="register.password.$dirty && register.password.$invalid"> 
                            <small class="error" 
                                ng-show="register.password.$error.required"> 
                                密码不能为空 
                            </small> 
                            <small class="error" 
                                ng-show="register.password.$error.minlength"> 
                                Your name is required to be at least 3 characters 
                            </small> 
                            <small class="error" 
                                ng-show="register.password.$error.maxlength"> 
                                Your name cannot be longer than 20 characters 
                            </small> 
                        </div> 
                    </div> -->
                    <div class="form-group">
                        <div class="col-md-offset-3 col-md-6">
                            <div class="checkbox">
                                <label>
                                    <input type="checkbox" ng-model="userInfo.autoLogin">我已阅读并同意《用户注册协议》
                                </label>
                            </div>
                        </div>
                    </div>
                    <button type="button" class="btn btn-primary col-md-4 col-md-offset-4">
                        注 &nbsp 册</button>
                </form>
            </div>              
            
        </div>
    </div>
<div class="login_45">
    <p>Copyright&nbsp;&nbsp;&nbsp;2015&nbsp;&nbsp;taoaixin.com&nbsp;&nbsp;杭州电子科技大学版权所有</p>
</div>
    <script type="text/javascript" src="js/jquery-1.11.3.js"></script>
    <script type="text/javascript" src="js/angular.min.js"></script>
    <script type="text/javascript" src="js/angular-messages.min.js"></script>
    <script type="text/javascript" src="js/myangularjs.js"></script>

    <script type="text/javascript" src="js/easypay.js"></script>
    <script type="text/javascript" src="js/myjs.js"></script>
    <script type="text/javascript" src="js/signup.js"></script>

</body>
</html>
</body>
</html>
